package com.perye.dokit.service.impl;

import com.perye.dokit.mapper.dao.DaoSupport;
import com.perye.dokit.mapper.detestMapper;
import com.perye.dokit.service.detestservice;
import com.perye.dokit.utils.pageData.PageData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class detestserviceimpl implements detestservice {

//    @Resource
//    private detestMapper detestMapper;
    @Resource
    private DaoSupport daoSupport;

    @Override
    public List<PageData> getlist(PageData pageData) throws Exception{
        List<PageData> pageData1= (List<PageData>) daoSupport.findForList("detestMapper.getlist",pageData);
        return pageData1;
    }
}
